import service from "@/sdk/http/service";

/**
 * author:  LianYuTao
 * date: 2023/03/17 20:35
 * version: 1.0.1
 * desc: 组件库分类表
 */

// 组件库分类表-page
export function categoryPage(params) {
  return service({
    url: "/category/page",
    method: "post",
    data: params
  });
}

// 组件库分类表-list
export function categoryList(params) {
  return service({
    url: "/category/list",
    method: "post",
    data: params
  });
}

// 组件库分类表-add
export function categoryAdd(params) {
  return service({
    url: "/category/add",
    method: "post",
    data: params
  });
}

// 组件库分类表-update
export function categoryUpdate(params) {
  return service({
    url: "/category/update",
    method: "post",
    data: params
  });
}

// 组件库分类表-delete
export function categoryDelete(params) {
  return service({
    url: "/category/delete",
    method: "post",
    data: params
  });
}

// 组件库分类表-detail
export function categoryDetail(params) {
  return service({
    url: "/category/detail",
    method: "post",
    data: params
  });
}

